class Employee:
    def calculate_salary(self):
        pass


class FullTimeEmployee(Employee):
    def __init__(self, work_hours, hourly_wage):
        self.work_hours = work_hours
        self.hourly_wage = hourly_wage

    def calculate_salary(self):
        return self.work_hours * self.hourly_wage


class PartTimeEmployee(Employee):
    def __init__(self, work_hours, hourly_wage):
        self.work_hours = work_hours
        self.hourly_wage = hourly_wage

    def calculate_salary(self):
        return self.work_hours * self.hourly_wage


if __name__ == '__main__':
    full_em = FullTimeEmployee(160, 100)
    part_em = PartTimeEmployee(80, 50)
    print(f'全职员工的工资是：{full_em.calculate_salary()}')
    print(f'兼职员工工资是：{part_em.calculate_salary()}')
